import re

x=input('请输入字符串: ')
pattern = r'^[a-zA-Z0-9]+$'
result = re.match(pattern,x)
if result:
    print('True')
else:
    print('False')
